package br.macedo.model;

import java.util.ArrayList;
import java.util.List;

public class SurveyModel {
	private int id;
	private String titulo;
	private List<QuestionModel> questions;
	
	public SurveyModel()
	{
		this.setQuestions(new ArrayList<QuestionModel> ());
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitulo() {
		return titulo;
	}
	public void setTitulo(String titulo) {
		this.titulo = titulo;
	}

	public List<QuestionModel> getQuestions() {
		return questions;
	}

	public void setQuestions(List<QuestionModel> questions) {
		this.questions = questions;
	}

}
